{switch name="$patient_info['sex']"}
{case value="1"}
<img src="__STATIC__/index/imgs/head_nan.jpg" alt="">
{/case}

{case value="2"}
<img src="__STATIC__/index/imgs/head_nv.jpg" alt="">
{/case}
{/switch}